home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 1962 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  634 b 

  1. Path: news.ov.com!news
  2. From: glenn@ov.com (Fletcher.Glenn@ov.com)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: atol or strtol ?
  5. Date: 18 Jan 1996 00:39:40 GMT
  6. Organization: OpenVision
  7. Message-ID: <4dk4sc$dmj@spanky.pls.ov.com>
  8. References: <4dbobq$763@jupiter.planet.net>
  9. Reply-To: glenn@ov.com
  10. NNTP-Posting-Host: foghorn.pls.ov.com
  11.  
  12. In article 763@jupiter.planet.net, Chris Kemp <chrisk@paladn.com> writes:
  13. >what is the difference between  strtol function and atol ?
  14. >
  15.  
  16.  
  17. Looking at TFM tells me that atol() expects the string to represent a
  18. base 10 number.  strtol() allows you to select the expected number base.
  19.  
  20.             Fletcher.Glenn@ov.com
  21.  
  22.  
  23.